import request from "@/router/axios";

// 获取企微注册信息
export function getConfigInfo(obj) {
	return request({
		url: `/cp/agent/wxjssdk/config?agentId=${obj.agentId || ''}&uriPath=${encodeURIComponent(obj.uriPath)}`,
		method: "get"
	})
}

// 获取当前企业微信用户信息userid(成员id)-中台接口
export function getCurrentEmployeeInfo(obj) {
	return request({
		url: `/cp/employee-info/info`,
		method: "get",
		params: obj
	})
}